package com.ocean.web.controller.index;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 联系我们
 */
@Controller
@RequestMapping("/home")
public class ContactController {
    private String prefix = "index";

    /**
     * 跳转联系我们
     * @return
     */
    @GetMapping("/contact")
    public String contact()
    {
        return prefix + "/contact/contact";
    }
    @GetMapping("/map")
    public String map()
    {
        return prefix + "/contact/map";
    }
}
